-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with "Error in rethrow_call" #261
Comments
My guess is that it is because of the accents indeed. Maybe you could map a windows drive, e.g. |
How would I go about doing that? |
I mean I did create a virtual directory H: pointing to my home directory with the |
You can set your library path to (I did not test this, hopefully it works.) |
Ok got you. I did uninstall processx then reinstalled in "H:/Documents/R/win-library/3.6", still same result. I must say I had already tried installing in the common directory before: "C:/Program Files/R/R-3.6.1/library" with same result. |
I am sorry for the question, but are you are you sure that you are loading the package from that directory? It is easy to mix them up if you have multiple directories. |
No, that's a good question. I had only assumed I was loading from the correct directory since I always uninstalled first. But no luck when specifying from where to load with lib.loc:
|
OK, this is a bug, anyway, let me try to fix it. |
Do you think it might be due to having R version 3.6.1 while processx was built under 3.6.3? Do you want me to install latest version and test again? |
No, that is very unlikely. |
@rempsyc Which non ASCII character(s) do you have in your path? |
French accents, "é", e.g, Sébastien Gagné |
Which version of processx is this? What is your system locale? E.g. the output of library(processx)
sessionInfo() would be good. |
|
R 3.6.x is not great for non-ASCII paths, unfortunately. There is a good chance that your problem is fixed in R 4.0.x, which has:
|
Great! I will try that and come back to you. |
Ok, just updated R and RStudio. Same error (edit: for |
Actually, I just retried
And now it works! I guess because of the R update. And as for the dir command, maybe it simply didn't work because it's not a Windows executable as you said! |
I was redirected here from an error with the
webshot
package linked toprocessx
: wch/webshot#97After installing and loading:
I run:
example(webshot)
Or the examples in the readme.md:
webshot("https://www.r-project.org/", "r.png")
And I consistently get:
I was told to try this rather simple processx command:
> process$new("dir", "hello", supervise = TRUE)
Which outputs a similar error.
I reinstalled processx in a new R session, but same error. So I manually uninstalled from RStudio and reinstalled again, but same thing.
I wonder whether it could be due to my username having spaces and accents (though I cannot change it). I know it has given me some trouble with other packages in the past.
The text was updated successfully, but these errors were encountered: