cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-213878%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3ELaden%20von%20R.rds-Dateien%20in%20JMP%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-213878%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EWir%20verf%C3%BCgen%20%C3%BCber%20einige%20Ger%C3%A4te%2C%20die%20Ergebnisse%20in%20.rds-Dateien%20%E2%80%93%20einem%20R-Dateiformat%20%E2%80%93%20ver%C3%B6ffentlichen.Ich%20kann%20herausfinden%2C%20wie%20man%20eine%20JMP-Datei%20in%20R%20einliest%2C%20m%C3%B6chte%20aber%20die%20R-%2F.rds-Datei%20in%20JMP%20einlesen.Hat%20jemand%20einige%20Codefragmente%2C%20die%20dies%20tun%20w%C3%BCrden%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDanke!%3C%2FP%3E%3CP%3ERay%20Bunkofske%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269634%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20R.rds-Dateien%20in%20JMP%20laden%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269634%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EHat%20jemand%20eine%20einfache%20L%C3%B6sung%3F%20Danke%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-214010%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20R.rds-Dateien%20in%20JMP%20laden%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-214010%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EWas%20ich%20%C3%BCber%20R%20wei%C3%9F%2C%20k%C3%B6nnen%20Sie%20in%20einen%20Fingerhut%20stecken.%20Kann%20ich%20es%20als%20JMP-Funktion%20einrichten%2C%20damit%20der%20Benutzer%20im%20JMP-Skript%20bleiben%20kann%3F%20Ich%20versuche%2C%20einen%20Datenfluss%20zu%20erstellen%2C%20der%3A%20in%20einem%20Verzeichnis%20sucht%2C%20die%20R-Dateien%20l%C3%A4dt%2C%20mehrere%20JMP-Berichte%20erstellt%20und%20die%20JMP-Datendateien%20mit%20den%20eingebetteten%20Berichten%20speichert.%20Auf%20diese%20Weise%20k%C3%B6nnen%20Benutzer%20die%20Berichte%20anzeigen%20und%20einen%20weiteren%20Drilldown%20mit%20der%20gesamten%20Datendatei%20durchf%C3%BChren.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-213997%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20R.rds-Dateien%20in%20JMP%20laden%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-213997%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3ESie%20k%C3%B6nnen%20dies%20von%20JMP%20aus%20ausf%C3%BChren%2C%20m%C3%BCssen%20jedoch%20R-Code%20%C3%BCbermitteln%2C%20der%20die%20.rds-Datei%20in%20R%20%C3%B6ffnet%2C%20und%20dann%20eine%20R-Funktion%20get()%20verwenden%2C%20um%20den%20Datenrahmen%20in%20R%20in%20eine%20Datentabelle%20in%20JMP%20zu%20%C3%BCbertragen.%3C%2FP%3E%0A%3CP%3EWeitere%20Informationen%20finden%20Sie%20im%20Abschnitt%20%E2%80%9EJSL%20Scripting%20Guide%E2%80%9C%20zum%20Erweitern%20von%20JMP%3C%2FP%3E%0A%3CP%3EHilfe%3D%3D%26gt%3BB%C3%BCcher%3D%3D%26gt%3BSkripthandbuch%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-213962%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20R.rds-Dateien%20in%20JMP%20laden%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-213962%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EMein%20Ansatz%20w%C3%A4re%2C%20einfach%20R%20auf%20Ihrem%20Computer%20aufzurufen%20und%20die%20Funktion%20readRDS()%20auszuf%C3%BChren%2C%20um%20die%20Daten%20auf%20diese%20Weise%20abzurufen.%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
vt_sailor
Level II

Loading R .rds files into JMP

We have some equipment that publishes results in an .rds files--an R file format.  I can find how to read a JMP file into R, but I'd like to read the R / .rds file into JMP.  Does anyone have some code snippets that would do this?

 

Thanks!

Ray Bunkofske

4 REPLIES 4
andersonmj2
Level IV

Re: Loading R .rds files into JMP

My approach would be to simply call out to R on your computer and execute the readRDS() function to pull the data in that way.
vt_sailor
Level II

Re: Loading R .rds files into JMP

What I know about R you can put in a thimble. Can I set it up as a JMP function so that the user can stay within the JMP script? I'm trying to build a dataflow that: looks in a directory, loads the R files, creates several JMP reports and saves the JMP data files with the reports embedded. That way folks can view the reports, and do further drill-down with the complete data file.
txnelson
Super User

Re: Loading R .rds files into JMP

You can run this from JMP, however you will have to submit r code that opens the .rds file in r, and then use an r get() function to transfer the data frame in r to a data table in JMP.

See the JSL Scripting Guide section on Extending JMP

     Help==>Books==>Scripting Guide

Jim
Cougar
Level I

Re: Loading R .rds files into JMP

Anyone has an easy solution? thanks

Recommended Articles