Skip to content
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

Mention R-Snippet general requirements #31

Open
jpfeuffer opened this issue Feb 18, 2016 · 3 comments
Open

Mention R-Snippet general requirements #31

jpfeuffer opened this issue Feb 18, 2016 · 3 comments

Comments

@jpfeuffer
Copy link
Contributor

When running the Tutorial on a fresh R, I stumbled across some difficulties in the
Metabo workflow.
The general R requirement (install.packages('Rserve')) for using a local R Server was missing. KNIME tells you this but maybe we could mention that beforehand.
The same holds for install.packages('Cairo') for bitmap handling (at least on MacOS).

@jpfeuffer
Copy link
Contributor Author

Also I could not install devtools and ggbiplot from within the R Snippets (needed for the PCAbiplot, rest worked fine). We should either remove that node or really make a section about R dependencies (which explains, which packages to install beforehand).

@cbielow
Copy link
Contributor

cbielow commented Feb 18, 2016

You could create an R package .. dependencies will be automatically installed via the definitions in the package DESCRIPTION file.
If one needs devtools anyway, install_github() comes with it, so installation boils down to a single command.

If that's too much then:

if (!require("packageXY")) install.packages("packageXY"); require("packageXY");
should work at the beginning for each script.

(not sure if that helps in any way--- not really familiar with the R part of the tutorials).

@mwalzer
Copy link
Contributor

mwalzer commented Jun 8, 2016

so we had this before the 2015 UM: #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants