You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many functions that require a file input also accept some sort of a text argument. For real production use this won't be recommended, but for making quick little scripts, for reproducibility (sharing a single code chunk online for example), for doing testing, for many little tasks it's useful to be able to do this.
Now this can be ran and/or shared as one piece of code rather than mandating the creation of a separate file and saving it to disk and then coordinating finding its path.
The text was updated successfully, but these errors were encountered:
If that's supposed to work, then yes, that's exactly what I was talking about!
But when I try to run that (Windows 7, R 3.5.2, r2d3 v0.2.3) I get an error
Error in dirname(script) : path too long
I didn't even think of trying that though because the documentation didn't sound like text rather than a script file would work. If this does work, it would be nice if the function documentation made that note.
Update: I just installed the package from github for the latest dev version and I'm still seeing the same error. @javierluraschi are you sure the code you provided works for you? If so, something strange is going on.
Many functions that require a file input also accept some sort of a
text
argument. For real production use this won't be recommended, but for making quick little scripts, for reproducibility (sharing a single code chunk online for example), for doing testing, for many little tasks it's useful to be able to do this.I'm envisioning something like this:
Now this can be ran and/or shared as one piece of code rather than mandating the creation of a separate file and saving it to disk and then coordinating finding its path.
The text was updated successfully, but these errors were encountered: