🎉 🎉 RAPIDMINER 9.10 IS OUT!!! 🎉🎉

Download the latest version helping analytics teams accelerate time-to-value for streaming and IIOT use cases.

CLICK HERE TO DOWNLOAD

[SOLVED] Relative Repository

ziszis Member Posts: 22 Contributor II
edited November 2018 in Help
Hi,

I have a question. Is any way how to get a Repository by relative path?

For example:

I have a project PR1 and a want to create repository here - PR1/Repo, I will create a Process with Store operator and I want to store data to the repository.

If I use GUI, it wants a absolute path. So is any way how I can change this absolute path to relative in code (or through RapidMiner class)?

(Idea is, using process with Store operator in my Project without creating new repository through GUI. Project using only rapidminer.jar)

Thanks for ideas,
Regards
John
Tagged:

Answers

  • ziszis Member Posts: 22 Contributor II
    Ok,

    I found a solution RepositoryManager.getInstance(null).addRepository(new LocalRepository("MyRepo", new File("path")));

    Regards,
    John
Sign In or Register to comment.